package com.wego.bean;

import com.wego.common.utils.JsonUtil;
import lombok.*;

import java.util.List;

/**
 * @className: TableBean
 * @description: TODO 类描述
 * @author: Li Chuanwei
 * @date: 2023/07/11 8:21
 * @Company: Copyright [日期] by [作者或个人]
 **/

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TableBean<T> {
    private Integer code;
    private String msg;
    private Long count;
    private List<T> data;
    @Override
    public String toString() {
        return JsonUtil.obj2String(this);
    }
}
